package org.giovanolli.mumi.util;

import java.text.DecimalFormat;

/**
 * The Class NumberUtils.
 */
public abstract class NumberUtils {

	/**
	 * Gets the currecy formattednumber.
	 * 
	 * @param number
	 *            the number
	 * @return the currecy formattednumber
	 */
	public static final String getCurrecyFormattedNumber(Double number) {
		String rv = null;
		if (number != null) {
			rv = new DecimalFormat("0.00").format(number);
		}
		return rv;
	}
}
